package com.mcjtf.prefix.update;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class VersionResponse {
    private int id;
    private String tag_name;
    private String target_commitish;
    private boolean prerelease;
    private String name;
    private String body;
    private Author author;
    private Date created_at;
    private List<Assets> assets;

    @Data
    public static class Assets {
        private String browser_download_url;
    }

    @Data
    public static class Author {
        private long id;
        private String login;
        private String name;
        private String avatar_url;
        private String url;
        private String html_url;
        private String followers_url;
        private String following_url;
        private String gists_url;
        private String starred_url;
        private String subscriptions_url;
        private String organizations_url;
        private String repos_url;
        private String events_url;
        private String received_events_url;
        private String type;
        private boolean site_admin;
    }
}